home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
disk
/
misc
/
MacTransfEr.readme
< prev
next >
Wrap
Text File
|
1998-01-05
|
3KB
|
65 lines
Short: Decrypt full filenames on Mac-written DOS-disks
Author: rade@coli.uni-sb.de (Ralph Debusmann)
Uploader: rade@coli.uni-sb.de (Ralph Debusmann)
Type: disk/misc
--- short introduction
For people who use DOS-disks to transfer files from any Mac (at work, at
the uni) to their Amiga.
When utilizing DOS-disks, MacOS puts the original (long) Mac-filenames
into a file called "FINDER.DAT" and is thus able to overcome the
DOS-8+3-naming convention.
To get the full names again after transferring the files from the Mac to
the DOS-disk and then to the Amiga you so far had to resort to
ShapeShifter or just let the names as ugly as they were (with
exclamation marks at the beginning of the filenames etc.). Up to now.
Give MacTransfEr a directory with the ugly not-yet-renamed filenames and
the corresponding "FINDER.DAT"-file and it will bring back your names as
nicely as possible.
I've put the program into operation using guesswork and reverse engineering
of the strangely built "FINDER.DAT"-file-format. It works for me (using
MacOS 7.5), but it is not guaranteered to work for you too. Don't blame me
for anything, please :)
--- args
MacTransfEr parses two args (both of which are facultative). With the
"CD=CURRENTDIR/S"-arg you can tell MacTransfEr to search for
"FINDER.DAT" in the current directory and start renaming the files back
there. Use this option if you plan to build MacTransfEr into your
favourite Filemanager (DOpus, BrowserII). Given no "CD"-arg MacTransfEr
opens up a ReqTools-requester asking you for the dir to scan.
If you set the second switch, "DF=DELETEFINDERDAT/S", MacTransfEr will
delete the "FINDER.DAT"-file after the renaming process has ended. Thus
the usual way of operation for MacTransfEr is:
1. create a new directory on your HD or RAM-Disk
2. copy the Mac-written DOS-disks content including "FINDER.DAT" into
this directory (you can omit the "RESOURCE.FRK"-directory).
3. Start MacTransFer the directory you just created as the current dir
(using the "CD=CURRENTDIR/S"-switch) or give no "CD"-argument and tell
MacTransfEr the directory's path via the ReqTools-requester.
4. Done. The names should be correct again and "FINDER.DAT" is removed
(by the "DF"-switch).
--- tech
MacTransfEr was written using E³ and in a quick'n'dirty fashion. It's a
hack. Nevertheless, the source is included.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2792 1781 36.2% 11-Nov-97 19:21:04 +MacTransfEr
3004 1327 55.8% 18-Sep-97 23:57:10 +MacTransfEr.e
2368 1182 50.0% 11-Nov-97 19:58:16 +MacTransfEr.readme
-------- ------- ----- --------- --------
8164 4290 47.4% 15-Nov-97 20:26:36 3 files